{extend name="base/main" /}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
    <div class="ibox-title">
        <h5>会员说明 / 会员说明修改</h5>
    </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t" action="{:url('Member/explan_update')}">
                <div class="layui-form-item">
                    <label class="layui-form-label">内容</label>
                    <div class="layui-input-inline">
                        <input type="text" name="content" value="{$list.content}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">排序</label>
                    <div class="layui-input-inline">
                        <input type="number" name="sort" value="{$list.sort}" class="layui-input" placeholder="0">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-block">
                        <input type="radio" name="status" value="1" title="显示" <?php if($list['status']==1) { echo 'checked';}?>>显示
                        <input type="radio" name="status" value="2" title="隐藏" <?php if($list['status']==2) { echo 'checked';}?>>隐藏
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <input type="hidden" name="id" value="{$list.id}">
                        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                        <button class="btn btn-default historygo" type="button">返回</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}